package com.tao.springcloud.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName SentinelController
 * @Author HETAO
 * @Date 2020/5/12 21:20
 */
@RestController
@RequestMapping("sentinel")
public class SentinelController {
    @GetMapping("testA")
    public String testA() {
        return "testA=========>";
    }

    @GetMapping("testB")
    public String testB() {
        return "testB=========>";
    }
}
